﻿using System;
using System.Data.Linq.Mapping;

namespace sBlog.Net.Domain.Entities
{
    [Table(Name = "Status")]
    [Serializable]
    public class StatusEntity
    {
        [Column(IsPrimaryKey = true, IsDbGenerated = true, AutoSync = AutoSync.OnInsert)]
        public int StatusID { get; set; }
        [Column]
        public int OwnerUserID { get; set; }
        [Column]
        public string Status { get; set; }
        [Column]
        public DateTime CreateDate { get; set; }

        [Column]
        public DateTime UpdateDate { get; set; }

        public string OwnerUserName { get; set; }
        public string UserName { get; set; }
    }
}
